package vn.vfriends.soffice.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.soffice.model.User;

/**
 *
 * @author chaungoctuan@gmail.com
 */
public interface UserService extends Serializable {

    void create(User user) throws Exception;

    void edit(User user) throws Exception;

    void remove(User user) throws Exception;

    User find(Object id);

    List<User> findAll();
    
    User findByUsername(String username);

    List<User> findRange(int[] range);

    int count();

    public List<String> findURLsOfUser(User user);
}
